package com.senven.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.omg.CORBA.PRIVATE_MEMBER;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "角色类")
public class Role  implements Serializable {
    @ApiModelProperty(value = "编号")
    @TableId(type = IdType.ASSIGN_ID)
    private Integer roleid;
    @ApiModelProperty(value = "角色名字")
    @TableField(value = "role_name")
    private String roleName;
    @TableField(value = "role_desc")
    @ApiModelProperty(value = "角色描述")
    private String roleDesc;
    /*@ApiModelProperty(value = "角色状态0为管理人员 1为餐厅管理者 2为普通用户")
    private Integer state;*/
}
